from api.api_approve_trust import ApiApproveTrust
from api.api_recharge import ApiRecharge
from api.api_register_login import ApiRegisterLogin
from api.api_tender import ApiTender


class ApiFactory:
    def __init__(self,session):
        # 获取session
        self.session = session
        #获取登录注册对象
    def api_get_register_login(self):
        return ApiRegisterLogin(self.session)
    #获取认证对象
    def api_approve_trust(self):
        return ApiApproveTrust(self.session)
    #获取充值对象
    def api_recharge(self):
        return ApiRecharge(self.session)
    #获取投资对象
    def api_tender(self):
        return ApiTender(self.session)